package com.sino.operation.commons.commonEnum;

import lombok.Data;

/**
 * 任务状态枚举类
 *
 * @author Administrator
 * date 2021/10/27 0027 21:40
 */

public enum TaskStateEnum {

    FLOW_STATE_RUNNING("1","任务正在处理中"),
    TRANS_ERROR("8","交易失败"),
    NEW_CLIENT_OPEN_ERROR("7","建立客户成功，开户失败"),
    TRANS_SUCCESS("6","记账成功，交易成功"),
    TOTAL_GET("TG","整单岗获取任务"),
    INT_BUS_GET("IG","外管账户审核岗获取任务"),
    AUTH_GET("AG","授权岗获取任务"),
    FXIED_GET("FG","修正岗获取任务"),
    REVIEW_GET("RG","复核岗获取任务"),
    VERIFY_GET("VG","人工验印岗获取任务"),
    TOTAL_COMPLETE("TC","整单岗提交任务"),
    INT_BUS_COMPLETE("IG","外管账户审核岗提交任务"),
    AUTH_COMPLETE("AG","授权岗提交任务"),
    FXIED_COMPLETE("FG","修正岗提交任务"),
    REVIEW_COMPLETE("RG","复核岗提交任务"),
    VERIFY_COMPLETE("VG","人工验印岗提交任务");


    private String code;
    private String message;

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    TaskStateEnum(String code, String message){
        this.code = code;
        this.message = message;
    }
}
